package com.snail.readyvr.event;

/**
 * Created by MRKING on 2016/11/7.
 */

public class GetSessionEvent {
    public static final int TYPE_SUCCESS = 0;
    public static final int TYPE_FAILE   = 1;
    public static final int FROM_NORMAL  = 0;
    public static final int FROM_VISTOR_LOGIN = FROM_NORMAL + 1;
    public static final int FROM_LOGIN = FROM_NORMAL + 2;
    public static final int FROM_PLAYING = FROM_NORMAL + 3;

    private int type ;
    private int from ;

    public GetSessionEvent() {
    }

    public GetSessionEvent(int type, int from) {
        this.type = type;
        this.from = from;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getFrom() {
        return from;
    }

    public void setFrom(int from) {
        this.from = from;
    }
}
